package cn.lifei.auth.service;

import cn.lifei.auth.domain.Role;
import cn.lifei.auth.dto.RolePermissionDTO;
import cn.lifei.basic.service.IBaseService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lifei
 * @since 2023-12-03
 */
public interface IRoleService extends IBaseService<Role> {

    void saveAuth(RolePermissionDTO dto);

    List<Long> queryPermissionById(Long id);
}
